package com.meilai.project.controller.web.businessFlow.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 张驰
 * @description 合同
 * @date 2022-09-14 16:39
 */
@Data
@ApiModel
public class BFContractVO {
    @ApiModelProperty(value = "合同_id")
    private Long id;

    @ApiModelProperty(value = "父合同ID")
    private Long contract_parent_id;

    @ApiModelProperty(value = "root合同ID")
    private Long contract_root_id;

    @ApiModelProperty(value = "合同_编号")
    private String contract_num;

    @ApiModelProperty(value = "合同_类型")
    private Integer contract_type;

    @ApiModelProperty(value = "合同_类型名称")
    private String contract_type_name;

    @ApiModelProperty(value = "合同_状态")
    private Integer contract_mode;

    @ApiModelProperty(value = "合同_状态名")
    private String contract_status_name;

    @ApiModelProperty(value = "合同_审批流程状态")
    private Integer contract_flow_status;

    @ApiModelProperty(value = "合同_审批流程节点名")
    private String contract_flow_status_name;

    @ApiModelProperty(value = "合同_开始日期")
    private LocalDate contract_begin_date;

    @ApiModelProperty(value = "合同_结束日期")
    private LocalDate contract_end_date;

    @ApiModelProperty(value = "合同_周期")
    private String contract_date;

    @ApiModelProperty(value = "合同_完成金额")
    private BigDecimal contract_finished = BigDecimal.ZERO;

    @ApiModelProperty(value = "合同_金额")
    private BigDecimal contract_discounted_price = BigDecimal.ZERO;

    @ApiModelProperty(value = "销售单")
    private List<BFBillSaleVO> bill_sale_list = new ArrayList<>();
}
